home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual dBase Pro v7.0 / DATA1.CAB / Sample_Include / Mapi.prg < prev    next >
Encoding:
Text File  |  1997-11-20  |  2.3 KB  |  67 lines

  1. //--------------------------------------------------------------
  2. //
  3. //  MAPI.PRG
  4. //
  5. //  This file contains Windows API function declarations
  6. //  for calls to the Win32 Messaging API from Visual dBASE.
  7. //  The type declarations and constants for the Messaging
  8. //  API are stored in the file MAPI.H
  9. //
  10. //  Visual dBASE 7.0 Samples Group
  11. //
  12. //  $Revision:   1.1  $
  13. //
  14. //  Copyright (c) 1997, Borland International, Inc. 
  15. //  All rights reserved.
  16. //
  17. //--------------------------------------------------------------
  18.  
  19. //  M A P I . H
  20. //
  21. //  Messaging Applications Programming Interface.
  22. //
  23. //  Copyright 1993-1995 Microsoft Corporation. All Rights Reserved.
  24. //
  25. //  This file defines the structures and constants used by that
  26. //  subset of the Messaging Applications Programming Interface
  27. //  which is supported under Windows by Microsoft Mail for PC
  28. //   Networks version 3.x.
  29. //
  30. #include <MAPI.H>
  31.  
  32. extern pascal ULONG MAPILogon(ULONG, LPSTR, LPSTR, FLAGS, ULONG, ;
  33.                     LPLHANDLE) mapi32.dll
  34.  
  35. extern pascal ULONG MAPILogoff(LHANDLE, ULONG, FLAGS, ULONG) mapi32.dll
  36.  
  37. extern pascal ULONG MAPISendMail(LHANDLE, ULONG, lpMapiMessage, FLAGS, ;
  38.                     ULONG) mapi32.dll
  39.  
  40. extern pascal ULONG MAPISendDocuments(ULONG, LPSTR, LPSTR, LPSTR, ;
  41.                     ULONG) mapi32.dll
  42.  
  43. extern pascal ULONG MAPIFindNext(LHANDLE, ULONG, LPSTR, LPSTR, ;
  44.                     FLAGS, ULONG, LPSTR) mapi32.dll
  45.  
  46. extern pascal ULONG MAPIReadMail(LHANDLE, ULONG, LPSTR, FLAGS, ULONG, ;
  47.                     lpMapiMessage) mapi32.dll
  48.  
  49. extern pascal ULONG MAPISaveMail(LHANDLE, ULONG, lpMapiMessage, FLAGS, ;
  50.                     ULONG, LPSTR) mapi32.dll
  51.  
  52. extern pascal ULONG MAPIDeleteMail(LHANDLE, ULONG, LPSTR, FLAGS, ;
  53.                     ULONG) mapi32.dll
  54.  
  55. extern pascal ULONG MAPIFreeBuffer( LPVOID ) mapi32.dll
  56.  
  57. extern pascal ULONG MAPIAddress(LHANDLE, ULONG, LPSTR, ULONG, LPSTR, ;
  58.                     ULONG, lpMapiRecipDesc, FLAGS, ULONG, LPULONG, ;
  59.                     lpMapiRecipDesc) mapi32.dll
  60.  
  61. extern pascal ULONG MAPIDetails(LHANDLE, ULONG, lpMapiRecipDesc, ;
  62.                     FLAGS, ULONG) mapi32.dll
  63.  
  64. extern pascal ULONG MAPIResolveName(LHANDLE, ULONG, LPSTR, FLAGS, ;
  65.                     ULONG, lpMapiRecipDesc) mapi32.dll
  66.  
  67.